﻿<Window x:Class="PublicComputerLogoffApplication.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:PublicComputerLogoffApplication"
        mc:Ignorable="d" Height="350" Width="525" ShowInTaskbar="False" ResizeMode="NoResize" WindowState="Maximized"  AllowsTransparency="True" WindowStyle="None">
    <!--<Window.Background>
        <SolidColorBrush Opacity="0.9" Color="Black"></SolidColorBrush>
    </Window.Background>-->
    <Grid HorizontalAlignment="Center" Height="233" VerticalAlignment="Center" Width="397">
        <Button x:Name="continueSessionButton" Content="Continue Session" HorizontalAlignment="Left" VerticalAlignment="Top" Width="125" Margin="132,193,0,0" Click="continueSessionButton_Click" IsCancel="True" Background="#FF0BDD09" Foreground="White" BorderBrush="White" Height="30" FontWeight="Bold" FontSize="14"/>
        <Button x:Name="logoffButton" Content="Logoff" HorizontalAlignment="Left" VerticalAlignment="Top" Width="125" Margin="262,193,0,0" IsDefault="True" Height="30" Background="#FFDD0707" Foreground="White" BorderBrush="White" FontWeight="Bold" FontSize="14" Click="logoffButton_Click"/>
        <Image x:Name="logo" HorizontalAlignment="Left" Height="100" Margin="9,10,0,0" VerticalAlignment="Top" Width="100" Loaded="image_Loaded"/>
        <Label x:Name="windowTitle" HorizontalAlignment="Left" Margin="132,10,0,0" VerticalAlignment="Top" Width="255" Foreground="#F9FFFFFF" FontSize="20" FontWeight="Bold" HorizontalContentAlignment="Center" Loaded="titleText_Loaded"/>
        <Border BorderBrush="{x:Null}" HorizontalAlignment="Right" Margin="0,42,10,50" Height="141" Width="255">
            <TextBlock x:Name="bodyText" HorizontalAlignment="Left"  TextWrapping="Wrap" VerticalAlignment="Center" Foreground="White" TextAlignment="Center" FontSize="14" Margin="0,42,0,42.8" Width="255"  Loaded="bodyText_Loaded"/>
        </Border>
        <Label x:Name="timer" Content="30" HorizontalAlignment="Left" Margin="31,135,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.242,-0.091" FontWeight="Bold" Foreground="White" FontSize="40"/>
        <Label x:Name="timerLabel" Content="Seconds until logoff" HorizontalAlignment="Left" Margin="10,193,0,0" VerticalAlignment="Top" Width="99" Foreground="White" FontSize="10"/>
    </Grid>
</Window>
